<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<h2>구매 상품 수정 완료</h2>
<hr>
	<table border=2 cellpadding=10 width=500px>
	<tr>
	<th colspan="2" bgcolor="lightgray">구매내역 입력내용</th>
	</tr>
		<tr>
			<td bgcolor="lightgray" width=100px><b>상품명</b>
			</td>
			<td align="left">${requestScope.saledto.productName }
			</td>
		</tr>
		<tr>
			<td bgcolor="lightgray" width=100px><b>구매사이트</b>
			</td>
			<td align="left">${requestScope.saledto.siteName }
		</td>
		</tr>
		<tr>
			<td bgcolor="lightgray" width=100px><b>지역</b>
			</td>
			<td align="left">${requestScope.saledto.location }
		</td>
		</tr>
		<tr>
			<td bgcolor="lightgray"><b>상품가격</b>
			</td>
			<td align="left">${requestScope.saledto.productPrice }
			</td>
		</tr>
		<tr>
			<td bgcolor="lightgray"><b>쿠폰가격</b>
			</td>
			<td align="left">${requestScope.saledto.reducedPrice}
			</td>
		</tr>
		<tr>
			<td bgcolor="lightgray"><b>구입(매)수</b>
			</td>
			<td align="left">${requestScope.saledto.quantity }
			</td>
		</tr>
		<tr>
			<td bgcolor="lightgray"><b>구매일자</b>
			</td>
			<td align="left">${requestScope.saledto.saleDate }
			</td>
		</tr>
		<tr>
			<td bgcolor="lightgray"><b>메모</b>
			</td>
			<td ><textarea cols="40" rows="3" id="memo">${requestScope.saledto.memo }</textarea>
			</td>
		</tr>
		<tr>
				<td bgcolor="lightgray"><b>사진 : </b> 
				</td><td>
					<c:if test="${not empty requestScope.saledto.productImage }">
					<img src="/${initParam.context_root }/upfile/${requestScope.saledto.productImage }" width="120" height="65">
					</c:if>
				</td>
			</tr>
		<tr>
		<td colspan="2">
		<input type="button" value="구매내역" onclick="location.href='/${initParam.context_root }/selectSaleListByPage.do'">
		</td>
		</tr>
	</table>
	
